import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SPetTrain
    
    export  class SPetTrain
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeString(this.uid);
            arg1.writeInt(this.remainSeconds);
            arg1.writeInt(this.type);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.uid = arg1.readString();
            this.remainSeconds = arg1.readInt();
            this.type = arg1.readInt();
            return;
        }

        public /* var */uid: string;

        public /* var */remainSeconds: int;

        public /* var */type: int;
    }
